import { createApp } from 'vue'
import { createRouter, createWebHashHistory } from 'vue-router'

import routes from '@/router/index'
export const router = createRouter({
    history: createWebHashHistory(),
    routes: routes,
})

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import store from '@/store/index'

import less from 'less'

import App from './App.vue'

const app = createApp(App)

app.use(ElementPlus).use(less).use(router).use(store)

app.mount('#app')
